package com.csun.cmny.provider.service.impl;

import com.csun.cmny.provider.annotation.MqProducerStore;
import com.csun.cmny.provider.model.domain.MqMessageData;
import com.csun.cmny.provider.model.enums.MqSendTypeEnum;
import com.csun.cmny.provider.service.MqMessageService;
import com.csun.cmny.provider.service.OpcManager;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-10-11 11:24
 * @Description: the class default opc manger
 */
@Slf4j
@Service
public class DefaultOpcManager implements OpcManager {


    @Override
    @MqProducerStore(sendType = MqSendTypeEnum.SAVE_AND_SEND)
    public void sendWebSocketMessage(MqMessageData mqMessageData) {

    }

    @Override
    @MqProducerStore(sendType = MqSendTypeEnum.SAVE_AND_SEND)
    public void sendMessage(MqMessageData mqMessageData) {

    }
}
